﻿using System;

namespace Myotragus.Data.Metadata
{
	public class EntityAttribute : Attribute, IEntityAttribute
	{
		public EntityAttribute()
		{
			IdGenerator = IdGenerators.Native;
		}

		public EntityAttribute(string table)
		{
			Table = table;
			IdGenerator = IdGenerators.Native;
		}

		public string Table { get; set; }

		public string IdColumn { get; set; }

		public string IdGenerator { get; set; }
	}
}